package com.greenline.push.dal.pushcenter.dataobject;

import java.util.Date;

/**
 * app_template <br/>
 * 2014-10-09<br/>
 * 
 * @author zhaoli
 */
public class AppTemplateDO {

    private Long id;

    private Date gmtCreated;

    private Date gmtModified;
    // 备注
    private String memo;
    // 对应模板表id
    private Long templateId;
    // 渠道id
    private String appId;
    // 微信 等的模板id
    private String extTemplId;
    // 邮件的模板类型 [text/html]
    private String extTemplType;
    // 推送中心参数和微信等平台参数对应关系
    private String paramConvert;
    private String text;// 应用模板出于个性化需求，需要用自定义模板，不实用默认模板'
    private String name;// 应用模版名字
    private Long appChannelId;
    private Long domainId;// db没有这个字段在domain_app_template
    // // 优先级。规则：保证优先级高的发送，高的发送不成功才发送低优先级的
    private String appChannel;// db没有这个字段 .在表 app_channel 中
    private Integer priority;// db没有这个字段,在domain_app_template表
    private String templateName;// db没有这个字段,在template表


    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getAppChannel() {
        return appChannel;
    }

    public void setAppChannel(String appChannel) {
        this.appChannel = appChannel;
    }

    public Long getDomainId() {
        return domainId;
    }

    public void setDomainId(Long domainId) {
        this.domainId = domainId;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public String getExtTemplType() {
        return extTemplType;
    }

    public Long getAppChannelId() {
        return appChannelId;
    }

    public void setAppChannelId(Long appChannelId) {
        this.appChannelId = appChannelId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public void setExtTemplType(String extTemplType) {
        this.extTemplType = extTemplType;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getGmtCreated() {
        return gmtCreated;
    }

    public void setGmtCreated(Date gmtCreated) {
        this.gmtCreated = gmtCreated;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     * 备注
     * 
     * @return memo
     */
    public String getMemo() {
        return memo;
    }

    /**
     * 备注
     * 
     * @param memo
     */
    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 对应模板表id
     * 
     * @return templateId
     */
    public Long getTemplateId() {
        return templateId;
    }

    /**
     * 对应模板表id
     * 
     * @param templateId
     */
    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    /**
     * 渠道id
     * 
     * @return appId
     */
    public String getAppId() {
        return appId;
    }

    /**
     * 渠道id
     * 
     * @param appId
     */
    public void setAppId(String appId) {
        this.appId = appId;
    }

    /**
     * 微信 等的模板id
     * 
     * @return extTemplId
     */
    public String getExtTemplId() {
        return extTemplId;
    }

    /**
     * 微信 等的模板id
     * 
     * @param extTemplId
     */
    public void setExtTemplId(String extTemplId) {
        this.extTemplId = extTemplId;
    }

    /**
     * 推送中心参数和微信等平台参数对应关系
     * 
     * @return paramConvert
     */
    public String getParamConvert() {
        return paramConvert;
    }

    /**
     * 推送中心参数和微信等平台参数对应关系
     * 
     * @param paramConvert
     */
    public void setParamConvert(String paramConvert) {
        this.paramConvert = paramConvert;
    }

    // /**
    // * 优先级。规则：保证优先级高的发送，高的发送不成功才发送低优先级的
    // *
    // * @return priority
    // */
    // public Integer getPriority() {
    // return priority;
    // }
    //
    // /**
    // * 优先级。规则：保证优先级高的发送，高的发送不成功才发送低优先级的
    // *
    // * @param priority
    // */
    // public void setPriority(Integer priority) {
    // this.priority = priority;
    // }

}